On Jul 12, 10:57 pm, rickhg12hs <[email protected]> wrote: > I've tried to use R's untar command a number of different ways from > Sage's commandline interface and I am having trouble listing the > contents of a LZMA compressed TAR file. Actually, I don't seem to get > any desirable output from r.untar so I am thinking I'm not even close > to using the correct syntax.
Syntax with R commands is not always obvious for optional keywords. Can you give us the *exact* R command (with options) you are trying to use? Note the documentation: "What options are supported will depend on the ‘tar’ used. " So it is possible that the R untar in question on Sage behaves differently from a 'native' implementation. But most likely it is the use of options that is the problem. Unfortunately I can't remember offhand how I've used them in the past :( but perhaps someone else will. > If I have a LZMA compressed TAR file, how can I list/read it with Sage > and/or r.untar in Sage? If you are just trying to use R from within Sage, without integrating it with the rest of Sage, you can also use r_console(), or use %r in the notebook, and just do things that way. - kcrisman -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
