I'm having an issue sourcing an R file from my workbench using StatET in the
Eclipse IDE. All I'm trying to do is get comfortable with 'source' and run
source(C:/Program Files (x86)/Eclipse/eclipse/ProjectName/SourceFile.R).
When I try to call the path for the file i get the error: unexpected '/'
That was it - silly mistake. Thank you very much.
--
View this message in context:
http://r.789695.n4.nabble.com/Very-Basic-Source-Question-tp3769129p3769751.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org
*Bottom Line: How can I compare the individual components of two data frames
with different row lengths without the levels interfering?*
Example: I have two data frames to those respectively named 'dfCity' and
'dfState' that have the following output:
dfCity
Name City
1Bill
Thank you both. For my purposes I need the for statement. I looked into merge
but what I wound up doing was installing the package 'compare' and using the
if statement /if((compare(dfCity[k,1], dfState[j,1],
dropLevels=TRUE)==TRUE){do something}/. This seemed to behave the way I
wanted.
--
View
I'm using the package 'gdata' and 'drop.levels' in the following code as a
simplified example of what I want to do, pinpointing the issue of isolating
variable in a data frame:
/dfNamesAndHeight - data.frame(Name = c('Bill','Bob','Bo'), Height =
c(73,68,83))
name_Bob -
Im trying to do a custom sort in this order:
1) Numeric digit furthest right;
2) Alphabetical second furthest to the right;
3) Alphabetical the rest of the string beginning with the first character;
The example code I'm using is an array that follows:
/myArray -
No worries for the brevity. That worked exactly like I wanted. Thank you.
--
View this message in context:
http://r.789695.n4.nabble.com/Drop-ALL-Levels-of-a-Data-Frame-Object-tp3903788p3909062.html
Sent from the R help mailing list archive at Nabble.com.
I'm trying to reproduce the 3rd graph on the page of this site:
http://learnr.wordpress.com/2009/03/17/ggplot2-barplots/ . However, the data
below produces a ggplot with the stacks sorted in alphabetical order from
the bottom up. I'd like the stacks to be in the order Europe, Asia,
Americas,
That worked great thank you.
--
View this message in context:
http://r.789695.n4.nabble.com/Ordering-of-stack-in-ggplot-package-ggplot2-tp3917159p3917520.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing
This is more of a C# question, but it has to do with the conversion of a data
frame using R.NET into an appropriate format to display on a C#
DataGridView.
My code is as follows (focusing on the button_Click)
/private void button_displayDF_Click(object sender, EventArgs e)
{
I should note that the form is compiling in C# but upon clicking the button
nothing happens to the dataGridView.
--
View this message in context:
http://r.789695.n4.nabble.com/R-Data-Frame-to-C-DataGridView-R-NET-tp3929413p3929415.html
Sent from the R help mailing list archive at Nabble.com.
11 matches
Mail list logo