Hi Alex,
At a guess you may want something like this:

data.frame(item="SKU",price=10,qty=2,ID="00001")

This produces a data frame with one row. You will probably want many more rows.

Jim

On Wed, Aug 28, 2019 at 2:21 PM Alex Naverniak <stopro...@gmail.com> wrote:
>
> Hi,
> I am trying to create Inventory structure with item SKU and 3 subitems like
> "Price"; "Qty"; "ID". I tried list(SKU,list("Item1","Item2","Item3")). It
> seem not to work. Please help with ideas. Thanks.
> Alex
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to