I have the following piece of R code: ----
# next line loads a variable called "dat" load('/tmp/dat.R') # make a copy d <- dat # extract the dat$web fields for the future d <- subset(d, web == 'future') ---- In rpy, I figured out that the equivalent starts out with: r.load('/tmp/dat.r') # creates a variable called r.dat d = r.dat # make a copy but I don't know what the next line should look like. I tried the obvious: d = r.subset(d, web == 'future') but that sure didn't go well. Neither did anything else I tried :-( Everything seems to cause python to complain that it doesn't know anything about "web". so could someone please tell me what that line should look like (and why)?
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list