Search Archives
Search tips
from:Name
Search by author name, e.g. from:Duncan Murdoch
"exact phrase"
Match an exact phrase
word1 word2
Match messages containing both words
Date range
Use the date pickers to filter results to a time period
Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.
Hi, I want to pick 3 "integer" random numbers from 1 to 10. How to do this? Thanks, Yu-Ling Wu __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help...
Hi, I plot a boxplot. For x axes, I have 30 categories, but it shows only 6 labels. How to make all the 30 labels be shown and make them 45 or 90 degree diagonal? Thanks, Yu-Ling Wu __________________________________________________ Do...
Hi, I have some data and plot some graphs using R. Can anybody tell me 1. how to save my data as a dataset in R? 2. how to export those data/graphs to other applications like Word/Excel? I...
Hi, 1. How to dynamic link the outputs from R to MS-Word or MS-Excel? 2. I'd like to develop an VB application and use R as the "backgroud calculator". How do I call R and its function...
Hi, I have a Word file "output.doc". Now I run "rterm --slave < script.r > output.doc". It will overwrite all the data in "output.doc". How to keep the original data in "output.doc" and meanwhile append the output...
Hi, I convert a numeric value to date/time format and do some operations on it. How to convert it back to a numeric value? Thanks, Yu-Ling Wu ================================================== begin <- 200103131030 EndTime <- strptime(paste(begin), format="%Y%m%d%H...
Hi, I have a set of script like this: ---------------------- summary(data) plot(time, users, type="o", xlab ="Time", ylab="Number of Users") ---------------------- I type "rterm --slave < script.r > output.doc" and the graphic doesn't actually in the output.doc...
Hi, I'd like to pass a string to a function as the value of the argument. Here is my code. However, it doesn't work. Please help me with this. Thanks, Yu-Ling Wu ----------------------------------------------------- library(RODBC) odbcConnect("console") -> myConnect...
Hi, I want to write the data returning from each loop to temp1, temp2, ... , temp10. However, I got error message as below: Error: Target of assignment expands to non-language object Please help me with this. Thanks, Yu-Ling Wu...
Hi, I have a R script with a funcion in it. When I run this script under R enviornment, it works fine. But if I go to DOS command prompt and type "rterm --slave < foo.r" it says: Error: couldn...
Hi, I have 50 data matrix x1 ~ x5. I want to write a loop to check the number of rows for each data matrix. How to make the data matrix name (numerical part) increase by 1 each time it loops...
Hi, I have a xxx.R file. In order to run this file, I have to go to R, and type -- source("xxx.R"). Two questions: 1. How to run file xxx.R under DOS prompt instead of entering R...
Hi, I read a dataset into R. It looks like this: > rawlist x1 x2 x3 2 12 64 5 12 42 5 9 42 18 14 535 26 23 751 Now I want to append some values of zero to...
Hi, I use R under Windows NT. I download "RODBC.zip" and unzip it to "e:/R/rm1011/lib/" in order to connect to MySQL. And then I add an MySQL ODBC data source in the Control Panel. When I...
Hi, I have a data set look like this: ================================= Fruit Quty apple 20 banana 10 orange 17 apple 30 apple 15 orange 26 banana 15 .........and so on .......... ================================= The level of fruit is 30, that is, there are 30 different...
Hi, I try to convert a string into date format. Please see the following two examples. When the time is midnight (i.e. 00:00:00), R can't convert it correctly and get a value of "NA". How to...
Hi, I have a big data file (over 30,000 records) looks like this: 100, 20, 46, 70 103, 0, 22, 45 117, -1, 34, 65 120, 15, 0, 25 113, 0, -1, 32 142, -1, -1, 55 ..... I want...
Hi, I have two data sets look like below: ========================== state count1 percent1 CA 19 0.34 TX 22 0.35 FL 11 0.24 OR 34 0.42 GA 52 0.62 MN 12 0.17 NC 19 0.34...
Hi, I have a set of data and when I run "summary(data)", I got the following output: dstuser dstmethod numaction Min. : 0.000 Min. : 0.000 Min. : 0.00 1st Qu.: 1.000 1st Qu.: 1.000 1st Qu...
Hi, I've two questions. Please help me. Thanks! --- Question (1) --- When I type: print("School Name") the output is: [1] "School Name" How to get rid of the '[1]' and the double quotes "" and make the output like this...
Can't find what you're looking for? Try searching with Google .