Alteryx Designer Ideas

Share your Designer product ideas - we're listening!
Register for the upcoming Live Community Q&A Session - and don't forget to submit your questions for @DeanS regarding the future role of analytics here.

Cleaner R Tool text field

I would love the R tool editor to work like a standard text field....it might be better explained in this scenario.  Pretend the character text is a script youve written with the function being at the top.  Let's say you'd like to move the function closer to the script, look at the weird output.  This editor pastes text like we are pasting images.

 

The use case is that I like to break my code into mini functions that I work on in the r console with sample data.  Once it works, I post it into alteryx and experiment with it on a small sample, then a larger sample.  If I have to have a document for my overall r cost in notepad ++, my function, and the console, it’s a little nusance, especially since I usually have to go back and forth with multiple functions.  I am not askin for a full blown editor, I like my notepad ++ for that, just a text input that works conventionally. 

 

 

 

 

 

 

 

 

 

 

SampleFunction <- function(x)
{
print(x)
}

 

abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz

 

when you paste the function (or any other text in the middle, look at this funky output)

 

 

 

 

 

 

 

 

 

 

abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
SampleFunction <- function(x)abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
{abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
print(x)abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
}abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz

4 Comments
ACE Emeritus
ACE Emeritus

I starred this, and had a similar situation: I've noticed that when pasting new code into the R code tool, it doesn't insert into the existing code, rather it will overwrite existing code if it's "in the way".  It's easy to work around: just make sure I have enough blank space to fit whatever I'm pasting... but it would be nice to have the pasted code inserted such that existing code is unaffected.  Thanks.

 

(@TaraM - my above text was taken from my post here.  Feel free to delete that, as this is probably a better spot... still getting used to "where to put things." Thanks!)

 

Status changed to: Inactive
 

The status of this idea has been changed to 'Inactive'. This status indicates that:

 

1. The idea has not had activity in the form of likes or comments in over a year.

2. The idea has not reached ten likes.

3. The idea is still in the 'New Idea' status. 

 

However, this doesn't mean your idea won't be implemented! The Community can still like and comment on this idea. With enough renewed interest, this idea can be brought back into the 'New Idea' status. 

 

Thank you for contributing to the Alteryx Community and the Alteryx Product Idea Boards!

Alteryx
Alteryx
Status changed to: Implemented

Thank you for reporting this.

 

The R tool text editor had some problematic behavior when it came to copy/pasting text within it. These issues should be resolved in the 2019.4 release: http://downloads.alteryx.com/